<?php

namespace app\api\validate;

use think\Validate;

class Rent extends Validate
{
    protected $rule = [
        ['page',           'number|>=:0',           '当前页出错|当前页出错'],
    ];

    protected $scene = [
        'category'          => ['page'],
    ];
}
